package controllers

type UserController struct {
	ZbaseController
}

/*使用RESTful模式的路由*/
func (c *UserController) Get() {
	mystruct := "get"
	c.Data["json"] = &mystruct
	c.ServeJSON()
}

func (c *UserController) Post() {
	mystruct := "post"
	c.Data["json"] = &mystruct
	c.ServeJSON()
}
